package edu.misaka.moe.service;

import java.util.List;

import edu.misaka.moe.dao.NativeDaoImpl;
import edu.misaka.moe.domain.Native;
import edu.misaka.moe.service.iface.NativeService;

public class NativeServiceImpl implements NativeService{

	NativeDaoImpl nd=new NativeDaoImpl();
	@Override
	public List<Native> getProvince() {
		
		return nd.getLevel1();
	}

	@Override
	public List<Native> getCity(String code) {
		
		return nd.getLevel2(code);
	}
		
}
